package com.nc.delivery_project.shared.proxy;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.nc.delivery_project.server.domain.Currency;
import com.nc.delivery_project.server.domain.Schedule;
import com.nc.delivery_project.shared.locator.ScheduleLocator;

import java.util.Date;


/**
 * Created by DRAGON on 10.01.2015.
 */
@ProxyFor(value = Schedule.class, locator = ScheduleLocator.class)
public interface ScheduleProxy extends EntityProxy{
    int getId();

    DepartmentProxy getOrigin();
    void setOrigin(DepartmentProxy origin);

    DepartmentProxy getDestination();
    void setDestination(DepartmentProxy destination);

    double getPrimeCost();
    void setPrimeCost(double primeCost);

    double getSellingRate();
    void setSellingRate(double sellingRate);

    Date getDepartureDate();
    void setDepartureDate(Date departureDate);

    Date getArrivalDate();
    void setArrivalDate(Date arrivalDate);

    Date getTariffDate();
    void setTariffDate(Date tariffDate);

    LegalPersonProxy getTransportCompany();
    void setTransportCompany(LegalPersonProxy transportCompany);

    CurrencyProxy getCurrency();
    void setCurrency(CurrencyProxy currency);


}
